package com.wchat.bean.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author : willian fu
 * @date : 2021/8/26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Session {
    //当前用户id
    private Integer userId;

    //加入的群组id
    private Set<Integer> groups;

    //可以发消息的好友ID
    private Set<Integer> friends;

}
